echo "-----------------------------make uploadfiles.cgi----------------------------------------"
arm-none-linux-gnueabi-gcc -Wall uploadfiles.c cgic.c cgic.h lodepng.c lodepng.h serial.c common.c serial.h CRC16.c CRC16.h lzoconf.h minilzo.h minilzo.c -o uploadfiles.cgi
echo "-----------------------------make systime.cgi----------------------------------------"
#arm-none-linux-gnueabi-gcc -Wall systime.c cgic.c cgic.h -o systime.cgi
#echo "                                                                                        "
echo "                                                                                        "
echo "-----------------------------make uploadelst.cgi----------------------------------------"
#arm-none-linux-gnueabi-gcc -Wall uploadelst.c cgic.c cgic.h serial.c common.c serial.h CRC16.c CRC16.h -o uploadelst.cgi

echo "                                                                                        "
#echo "-------------------------------make configured.cgi--------------------------------------"
#arm-none-linux-gnueabi-gcc -Wall configured.c cgic.c cgic.h serial.c common.c CRC16.c CRC16.h lzoconf.h minilzo.h minilzo.c -o configured.cgi
echo "                                                                                        "
echo "                                                                                        "
#echo "------------------------------make program.cgi------------------------------------------"
#arm-none-linux-gnueabi-gcc -Wall program.c cgic.c cgic.h serial.c common.c CRC16.c CRC16.h  -o program.cgi


echo "copy files to nfs share file"
cp uploadelst.cgi uploadfiles.cgi configured.cgi program.cgi systime.cgi /home/angela/nfs
echo "------------------------------make and copy successed ----------------------------------"